home *** CD-ROM | disk | FTP | other *** search
/ Apple Software Dispatch / Apple Software Dispatch.iso / Software Dispatch Files / Oregon Trail / Sample Application / Sample Application.rsrc / CODE_9_Init.txt < prev    next >
Text File  |  1993-06-23  |  77KB  |  1,368 lines

  1. # near model CODE resource
  2. # jump table entries: 2640-2640 (1 of them)
  3. fn00000000:
  4. 00000000  598F                     subq.l     A7, 4
  5. 00000002  4878 0454                push.l     0x454
  6. 00000006  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  7. 0000000A  2B5F D136                move.l     [A5 - 0x2ECA], [A7]+
  8. 0000000E  6612                     bne        +0x14 /* 00000022 */
  9. 00000010  486D CFA8                pea.l      [A5 - 0x3058]
  10. 00000014  3038 0220                move.w     D0, [0x00000220 /* MemErr */]
  11. 00000018  48C0                     ext.l      D0
  12. 0000001A  2F00                     move.l     -[A7], D0
  13. 0000001C  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  14. 00000020  508F                     addq.l     A7, 8
  15. label00000022:
  16. 00000022  598F                     subq.l     A7, 4
  17. 00000024  4878 0242                push.l     0x242
  18. 00000028  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  19. 0000002C  2B5F D02C                move.l     [A5 - 0x2FD4], [A7]+
  20. 00000030  6612                     bne        +0x14 /* 00000044 */
  21. 00000032  486D CFB4                pea.l      [A5 - 0x304C]
  22. 00000036  3038 0220                move.w     D0, [0x00000220 /* MemErr */]
  23. 0000003A  48C0                     ext.l      D0
  24. 0000003C  2F00                     move.l     -[A7], D0
  25. 0000003E  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  26. 00000042  508F                     addq.l     A7, 8
  27. label00000044:
  28. 00000044  598F                     subq.l     A7, 4
  29. 00000046  7066                     moveq.l    D0, 0x66
  30. 00000048  2F00                     move.l     -[A7], D0
  31. 0000004A  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  32. 0000004E  2B5F D024                move.l     [A5 - 0x2FDC], [A7]+
  33. 00000052  6612                     bne        +0x14 /* 00000066 */
  34. 00000054  486D CFC0                pea.l      [A5 - 0x3040]
  35. 00000058  3038 0220                move.w     D0, [0x00000220 /* MemErr */]
  36. 0000005C  48C0                     ext.l      D0
  37. 0000005E  2F00                     move.l     -[A7], D0
  38. 00000060  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  39. 00000064  508F                     addq.l     A7, 8
  40. label00000066:
  41. 00000066  426D D692                clr.w      [A5 - 0x296E]
  42. 0000006A  426D D728                clr.w      [A5 - 0x28D8]
  43. 0000006E  4EAD 0A0A                jsr        [A5 + 0xA0A /* export_317 */]
  44. 00000072  302D D904                move.w     D0, [A5 - 0x26FC]
  45. 00000076  48C0                     ext.l      D0
  46. 00000078  6630                     bne        +0x32 /* 000000AA */
  47. 0000007A  4EBA 0034                jsr        [PC + 0x34 /* 000000B0 */]
  48. 0000007E  7200                     moveq.l    D1, 0x00
  49. 00000080  1200                     move.b     D1, D0
  50. 00000082  6626                     bne        +0x28 /* 000000AA */
  51. 00000084  206D D136                movea.l    A0, [A5 - 0x2ECA]
  52. 00000088  3028 0004                move.w     D0, [A0 + 0x4]
  53. 0000008C  48C0                     ext.l      D0
  54. 0000008E  7201                     moveq.l    D1, 0x01
  55. 00000090  B280                     cmp.l      D1, D0
  56. 00000092  6C0C                     bge        +0xE /* 000000A0 */
  57. 00000094  700B                     moveq.l    D0, 0x0B
  58. 00000096  2F00                     move.l     -[A7], D0
  59. 00000098  4EAD 0A62                jsr        [A5 + 0xA62 /* export_328 */]
  60. 0000009C  588F                     addq.l     A7, 4
  61. 0000009E  600A                     bra        +0xC /* 000000AA */
  62. label000000A0:
  63. 000000A0  700C                     moveq.l    D0, 0x0C
  64. 000000A2  2F00                     move.l     -[A7], D0
  65. 000000A4  4EAD 0A62                jsr        [A5 + 0xA62 /* export_328 */]
  66. 000000A8  588F                     addq.l     A7, 4
  67. label000000AA:
  68. 000000AA  4EAD 0A12                jsr        [A5 + 0xA12 /* export_318 */]
  69. 000000AE  4E75                     rts
  70. fn000000B0:
  71. 000000B0  4E56 FF00                link       A6, -0x0100
  72. 000000B4  48E7 0110                movem.l    -[A7], D7,A3
  73. 000000B8  47EE FF00                lea.l      A3, [A6 - 0x100]
  74. 000000BC  206D D136                movea.l    A0, [A5 - 0x2ECA]
  75. 000000C0  0C90 4D45 4343           cmpi.l     [A0], 0x4D454343 /* 'MECC' */
  76. 000000C6  664C                     bne        +0x4E /* 00000114 */
  77. 000000C8  206D D136                movea.l    A0, [A5 - 0x2ECA]
  78. 000000CC  3028 0004                move.w     D0, [A0 + 0x4]
  79. 000000D0  48C0                     ext.l      D0
  80. 000000D2  7201                     moveq.l    D1, 0x01
  81. 000000D4  B280                     cmp.l      D1, D0
  82. 000000D6  6D3C                     blt        +0x3E /* 00000114 */
  83. 000000D8  2F0B                     move.l     -[A7], A3
  84. 000000DA  3F3C 0BB8                move.w     -[A7], 0xBB8
  85. 000000DE  700A                     moveq.l    D0, 0x0A
  86. 000000E0  3F00                     move.w     -[A7], D0
  87. 000000E2  4EAD 0402                jsr        [A5 + 0x402 /* export_124 */]
  88. 000000E6  4247                     clr.w      D7
  89. 000000E8  601C                     bra        +0x1E /* 00000106 */
  90. label000000EA:
  91. 000000EA  7000                     moveq.l    D0, 0x00
  92. 000000EC  1033 7000                move.b     D0, [A3 + D7.w]
  93. 000000F0  206D D136                movea.l    A0, [A5 - 0x2ECA]
  94. 000000F4  7200                     moveq.l    D1, 0x00
  95. 000000F6  1230 7006                move.b     D1, [A0 + D7.w + 0x6]
  96. 000000FA  B280                     cmp.l      D1, D0
  97. 000000FC  6704                     beq        +0x6 /* 00000102 */
  98. 000000FE  7000                     moveq.l    D0, 0x00
  99. 00000100  6014                     bra        +0x16 /* 00000116 */
  100. label00000102:
  101. 00000102  3007                     move.w     D0, D7
  102. 00000104  5247                     addq.w     D7, 1
  103. label00000106:
  104. 00000106  48C7                     ext.l      D7
  105. 00000108  7000                     moveq.l    D0, 0x00
  106. 0000010A  1013                     move.b     D0, [A3]
  107. 0000010C  B087                     cmp.l      D0, D7
  108. 0000010E  6CDA                     bge        -0x24 /* 000000EA */
  109. 00000110  7001                     moveq.l    D0, 0x01
  110. 00000112  6002                     bra        +0x4 /* 00000116 */
  111. label00000114:
  112. 00000114  7000                     moveq.l    D0, 0x00
  113. label00000116:
  114. 00000116  4CEE 0880 FEF8           movem.l    D7,A3, [A6 - 0x108]
  115. 0000011C  4E5E                     unlink     A6
  116. 0000011E  4E75                     rts
  117. export_330:
  118. 00000120  4E56 FFFC                link       A6, -0x0004
  119. 00000124  4EBA 004C                jsr        [PC + 0x4C /* 00000172 */]
  120. 00000128  558F                     subq.l     A7, 2
  121. 0000012A  4EAD 0492                jsr        [A5 + 0x492 /* export_142 */]
  122. 0000012E  A850                     syscall    InitCursor
  123. 00000130  598F                     subq.l     A7, 4
  124. 00000132  A9FA                     syscall    UnloadScrap/UnlodeScrap
  125. 00000134  4EBA 0416                jsr        [PC + 0x416 /* 0000054C */]
  126. 00000138  4EBA 0350                jsr        [PC + 0x350 /* 0000048A */]
  127. 0000013C  4EBA 02E2                jsr        [PC + 0x2E2 /* 00000420 */]
  128. 00000140  4EAD 072A                jsr        [A5 + 0x72A /* export_225 */]
  129. 00000144  4EBA 0730                jsr        [PC + 0x730 /* 00000876 */]
  130. 00000148  4EBA 0100                jsr        [PC + 0x100 /* 0000024A */]
  131. 0000014C  4EBA 01A0                jsr        [PC + 0x1A0 /* 000002EE */]
  132. 00000150  4EBA FEAE                jsr        [PC - 0x152 /* 00000000 */]
  133. 00000154  4EBA 0054                jsr        [PC + 0x54 /* 000001AA */]
  134. 00000158  486E FFFC                pea.l      [A6 - 0x4]
  135. 0000015C  4EAD 02DA                jsr        [A5 + 0x2DA /* export_87 */]
  136. 00000160  2B6E FFFC FE00           move.l     [A5 - 0x200], [A6 - 0x4]
  137. 00000166  4EBA 0A1E                jsr        [PC + 0xA1E /* 00000B86 */]
  138. 0000016A  4EBA 0082                jsr        [PC + 0x82 /* 000001EE */]
  139. 0000016E  4E5E                     unlink     A6
  140. 00000170  4E75                     rts
  141. fn00000172:
  142. 00000172  2F07                     move.l     -[A7], D7
  143. 00000174  486D FE7E                pea.l      [A5 - 0x182]
  144. 00000178  A86E                     syscall    InitGraf
  145. 0000017A  A8FE                     syscall    InitFonts
  146. 0000017C  A912                     syscall    InitWindows
  147. 0000017E  A930                     syscall    InitMenus
  148. 00000180  A9CC                     syscall    TEInit
  149. 00000182  7000                     moveq.l    D0, 0x00
  150. 00000184  2F00                     move.l     -[A7], D0
  151. 00000186  A97B                     syscall    InitDialogs
  152. 00000188  70FF                     moveq.l    D0, 0xFFFFFFFF
  153. 0000018A  3F00                     move.w     -[A7], D0
  154. 0000018C  7200                     moveq.l    D1, 0x00
  155. 0000018E  3F01                     move.w     -[A7], D1
  156. 00000190  201F                     move.l     D0, [A7]+
  157. 00000192  A032                     syscall    FlushEvents
  158. 00000194  A063                     syscall    MaxApplZone
  159. 00000196  4247                     clr.w      D7
  160. 00000198  6004                     bra        +0x6 /* 0000019E */
  161. label0000019A:
  162. 0000019A  A036                     syscall    MoreMasters
  163. 0000019C  5247                     addq.w     D7, 1
  164. label0000019E:
  165. 0000019E  48C7                     ext.l      D7
  166. 000001A0  7019                     moveq.l    D0, 0x19
  167. 000001A2  B087                     cmp.l      D0, D7
  168. 000001A4  6EF4                     bgt        -0xA /* 0000019A */
  169. 000001A6  2E1F                     move.l     D7, [A7]+
  170. 000001A8  4E75                     rts
  171. fn000001AA:
  172. 000001AA  2F0B                     move.l     -[A7], A3
  173. 000001AC  598F                     subq.l     A7, 4
  174. 000001AE  3F3C 03E8                move.w     -[A7], 0x3E8
  175. 000001B2  A9C0                     syscall    GetNewMBar
  176. 000001B4  265F                     movea.l    A3, [A7]+
  177. 000001B6  200B                     move.l     D0, A3
  178. 000001B8  6614                     bne        +0x16 /* 000001CE */
  179. 000001BA  486D DF82                pea.l      [A5 - 0x207E]
  180. 000001BE  558F                     subq.l     A7, 2
  181. 000001C0  A9AF                     syscall    ResError
  182. 000001C2  301F                     move.w     D0, [A7]+
  183. 000001C4  48C0                     ext.l      D0
  184. 000001C6  2F00                     move.l     -[A7], D0
  185. 000001C8  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  186. 000001CC  508F                     addq.l     A7, 8
  187. label000001CE:
  188. 000001CE  2F0B                     move.l     -[A7], A3
  189. 000001D0  A93C                     syscall    SetMenuBar
  190. 000001D2  2F0B                     move.l     -[A7], A3
  191. 000001D4  205F                     movea.l    A0, [A7]+
  192. 000001D6  A023                     syscall    DisposHandle/DisposeHandle
  193. 000001D8  598F                     subq.l     A7, 4
  194. 000001DA  3F3C 03E8                move.w     -[A7], 0x3E8
  195. 000001DE  A949                     syscall    GetMenuHandle
  196. 000001E0  2F3C 4452 5652           move.l     -[A7], 0x44525652 /* 'DRVR' */
  197. 000001E6  A94D                     syscall    AppendResMenu/AddResMenu
  198. 000001E8  A937                     syscall    DrawMenuBar
  199. 000001EA  265F                     movea.l    A3, [A7]+
  200. 000001EC  4E75                     rts
  201. fn000001EE:
  202. 000001EE  598F                     subq.l     A7, 4
  203. 000001F0  4878 108C                push.l     0x108C
  204. 000001F4  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  205. 000001F8  2B5F D8FA                move.l     [A5 - 0x2706], [A7]+
  206. 000001FC  598F                     subq.l     A7, 4
  207. 000001FE  4878 108C                push.l     0x108C
  208. 00000202  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  209. 00000206  2B5F D8F6                move.l     [A5 - 0x270A], [A7]+
  210. 0000020A  598F                     subq.l     A7, 4
  211. 0000020C  4878 108C                push.l     0x108C
  212. 00000210  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  213. 00000214  2B5F D8EE                move.l     [A5 - 0x2712], [A7]+
  214. 00000218  4AAD D8FA                tst.l      [A5 - 0x2706]
  215. 0000021C  670C                     beq        +0xE /* 0000022A */
  216. 0000021E  4AAD D8F6                tst.l      [A5 - 0x270A]
  217. 00000222  6706                     beq        +0x8 /* 0000022A */
  218. 00000224  4AAD D8EE                tst.l      [A5 - 0x2712]
  219. 00000228  6612                     bne        +0x14 /* 0000023C */
  220. label0000022A:
  221. 0000022A  486D DF8E                pea.l      [A5 - 0x2072]
  222. 0000022E  3038 0220                move.w     D0, [0x00000220 /* MemErr */]
  223. 00000232  48C0                     ext.l      D0
  224. 00000234  2F00                     move.l     -[A7], D0
  225. 00000236  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  226. 0000023A  508F                     addq.l     A7, 8
  227. label0000023C:
  228. 0000023C  422D D878                clr.b      [A5 - 0x2788]
  229. 00000240  4EBA 0720                jsr        [PC + 0x720 /* 00000962 */]
  230. 00000244  4EAD 019A                jsr        [A5 + 0x19A /* export_47 */]
  231. 00000248  4E75                     rts
  232. fn0000024A:
  233. 0000024A  598F                     subq.l     A7, 4
  234. 0000024C  4878 009C                push.l     0x9C
  235. 00000250  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  236. 00000254  2B5F D924                move.l     [A5 - 0x26DC], [A7]+
  237. 00000258  6612                     bne        +0x14 /* 0000026C */
  238. 0000025A  486D DF96                pea.l      [A5 - 0x206A]
  239. 0000025E  3038 0220                move.w     D0, [0x00000220 /* MemErr */]
  240. 00000262  48C0                     ext.l      D0
  241. 00000264  2F00                     move.l     -[A7], D0
  242. 00000266  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  243. 0000026A  508F                     addq.l     A7, 8
  244. label0000026C:
  245. 0000026C  4A2D D48E                tst.b      [A5 - 0x2B72]
  246. 00000270  6716                     beq        +0x18 /* 00000288 */
  247. 00000272  598F                     subq.l     A7, 4
  248. 00000274  3F3C 03E8                move.w     -[A7], 0x3E8
  249. 00000278  2F2D D924                move.l     -[A7], [A5 - 0x26DC]
  250. 0000027C  70FF                     moveq.l    D0, 0xFFFFFFFF
  251. 0000027E  2F00                     move.l     -[A7], D0
  252. 00000280  AA46                     syscall    GetNewCWindow
  253. 00000282  2B5F D924                move.l     [A5 - 0x26DC], [A7]+
  254. 00000286  6014                     bra        +0x16 /* 0000029C */
  255. label00000288:
  256. 00000288  598F                     subq.l     A7, 4
  257. 0000028A  3F3C 03E8                move.w     -[A7], 0x3E8
  258. 0000028E  2F2D D924                move.l     -[A7], [A5 - 0x26DC]
  259. 00000292  70FF                     moveq.l    D0, 0xFFFFFFFF
  260. 00000294  2F00                     move.l     -[A7], D0
  261. 00000296  A9BD                     syscall    GetNewWindow
  262. 00000298  2B5F D924                move.l     [A5 - 0x26DC], [A7]+
  263. label0000029C:
  264. 0000029C  4AAD D924                tst.l      [A5 - 0x26DC]
  265. 000002A0  6614                     bne        +0x16 /* 000002B6 */
  266. 000002A2  486D DFA6                pea.l      [A5 - 0x205A]
  267. 000002A6  558F                     subq.l     A7, 2
  268. 000002A8  A9AF                     syscall    ResError
  269. 000002AA  301F                     move.w     D0, [A7]+
  270. 000002AC  48C0                     ext.l      D0
  271. 000002AE  2F00                     move.l     -[A7], D0
  272. 000002B0  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  273. 000002B4  508F                     addq.l     A7, 8
  274. label000002B6:
  275. 000002B6  486D DFBE                pea.l      [A5 - 0x2042]
  276. 000002BA  A874                     syscall    GetPort
  277. 000002BC  2F2D D924                move.l     -[A7], [A5 - 0x26DC]
  278. 000002C0  A873                     syscall    SetPort
  279. 000002C2  3F3C 18B2                move.w     -[A7], 0x18B2
  280. 000002C6  A887                     syscall    TextFont
  281. 000002C8  700E                     moveq.l    D0, 0x0E
  282. 000002CA  3F00                     move.w     -[A7], D0
  283. 000002CC  A88A                     syscall    TextSize
  284. 000002CE  7001                     moveq.l    D0, 0x01
  285. 000002D0  3F00                     move.w     -[A7], D0
  286. 000002D2  A888                     syscall    TextFace
  287. 000002D4  7001                     moveq.l    D0, 0x01
  288. 000002D6  2F00                     move.l     -[A7], D0
  289. 000002D8  7200                     moveq.l    D1, 0x00
  290. 000002DA  122D D912                move.b     D1, [A5 - 0x26EE]
  291. 000002DE  2F01                     move.l     -[A7], D1
  292. 000002E0  2F2D D924                move.l     -[A7], [A5 - 0x26DC]
  293. 000002E4  4EAD 0732                jsr        [A5 + 0x732 /* export_226 */]
  294. 000002E8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  295. 000002EC  4E75                     rts
  296. fn000002EE:
  297. 000002EE  4E56 FCF0                link       A6, -0x0310
  298. 000002F2  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  299. 000002F6  49EE FF00                lea.l      A4, [A6 - 0x100]
  300. 000002FA  47EE FE00                lea.l      A3, [A6 - 0x200]
  301. 000002FE  558F                     subq.l     A7, 2
  302. 00000300  2F0C                     move.l     -[A7], A4
  303. 00000302  486D D204                pea.l      [A5 - 0x2DFC]
  304. 00000306  486D D206                pea.l      [A5 - 0x2DFA]
  305. 0000030A  4EAD 03B2                jsr        [A5 + 0x3B2 /* export_114 */]
  306. 0000030E  486D D20A                pea.l      [A5 - 0x2DF6]
  307. 00000312  3F3C 0BB8                move.w     -[A7], 0xBB8
  308. 00000316  7005                     moveq.l    D0, 0x05
  309. 00000318  3F00                     move.w     -[A7], D0
  310. 0000031A  4EAD 0402                jsr        [A5 + 0x402 /* export_124 */]
  311. 0000031E  302D DFC2                move.w     D0, [A5 - 0x203E]
  312. 00000322  48C0                     ext.l      D0
  313. 00000324  548F                     addq.l     A7, 2
  314. 00000326  6600 00EE                bne        +0xF0 /* 00000416 */
  315. 0000032A  486E FDFE                pea.l      [A6 - 0x202]
  316. 0000032E  486E FCF4                pea.l      [A6 - 0x30C]
  317. 00000332  4EAD 038A                jsr        [A5 + 0x38A /* export_109 */]
  318. 00000336  302E FDFE                move.w     D0, [A6 - 0x202]
  319. 0000033A  48C0                     ext.l      D0
  320. 0000033C  7201                     moveq.l    D1, 0x01
  321. 0000033E  B280                     cmp.l      D1, D0
  322. 00000340  6618                     bne        +0x1A /* 0000035A */
  323. 00000342  2F0B                     move.l     -[A7], A3
  324. 00000344  3F3C 0BB8                move.w     -[A7], 0xBB8
  325. 00000348  7008                     moveq.l    D0, 0x08
  326. 0000034A  3F00                     move.w     -[A7], D0
  327. 0000034C  4EAD 0402                jsr        [A5 + 0x402 /* export_124 */]
  328. 00000350  2F0B                     move.l     -[A7], A3
  329. 00000352  4EAD 0092                jsr        [A5 + 0x92 /* export_14 */]
  330. 00000356  A9F4                     syscall    ExitToShell
  331. 00000358  588F                     addq.l     A7, 4
  332. label0000035A:
  333. 0000035A  422D D900                clr.b      [A5 - 0x2700]
  334. 0000035E  7E01                     moveq.l    D7, 0x01
  335. 00000360  6000 00A6                bra        +0xA8 /* 00000408 */
  336. label00000364:
  337. 00000364  3F07                     move.w     -[A7], D7
  338. 00000366  486E FCF6                pea.l      [A6 - 0x30A]
  339. 0000036A  4EAD 0392                jsr        [A5 + 0x392 /* export_110 */]
  340. 0000036E  3F07                     move.w     -[A7], D7
  341. 00000370  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  342. 00000374  0CAE 4F52 4346 FCF8      cmpi.l     [A6 - 0x308], 0x4F524346 /* 'ORCF' */
  343. 0000037C  6630                     bne        +0x32 /* 000003AE */
  344. 0000037E  558F                     subq.l     A7, 2
  345. 00000380  3F2E FCF6                move.w     -[A7], [A6 - 0x30A]
  346. 00000384  486D D204                pea.l      [A5 - 0x2DFC]
  347. 00000388  486D D206                pea.l      [A5 - 0x2DFA]
  348. 0000038C  486E FCF0                pea.l      [A6 - 0x310]
  349. 00000390  4EAD 03E2                jsr        [A5 + 0x3E2 /* export_120 */]
  350. 00000394  3C1F                     move.w     D6, [A7]+
  351. 00000396  486E FCFE                pea.l      [A6 - 0x302]
  352. 0000039A  486D D20A                pea.l      [A5 - 0x2DF6]
  353. 0000039E  7000                     moveq.l    D0, 0x00
  354. 000003A0  102E FCFE                move.b     D0, [A6 - 0x302]
  355. 000003A4  5280                     addq.l     D0, 1
  356. 000003A6  2F00                     move.l     -[A7], D0
  357. 000003A8  4EAD 02CA                jsr        [A5 + 0x2CA /* export_85 */]
  358. 000003AC  6068                     bra        +0x6A /* 00000416 */
  359. label000003AE:
  360. 000003AE  0CAE 5757 4443 FCF8      cmpi.l     [A6 - 0x308], 0x57574443 /* 'WWDC' */
  361. 000003B6  670A                     beq        +0xC /* 000003C2 */
  362. 000003B8  0CAE 4F52 4443 FCF8      cmpi.l     [A6 - 0x308], 0x4F524443 /* 'ORDC' */
  363. 000003C0  6642                     bne        +0x44 /* 00000404 */
  364. label000003C2:
  365. 000003C2  3F07                     move.w     -[A7], D7
  366. 000003C4  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  367. 000003C8  558F                     subq.l     A7, 2
  368. 000003CA  3F2E FCF6                move.w     -[A7], [A6 - 0x30A]
  369. 000003CE  486D D24A                pea.l      [A5 - 0x2DB6]
  370. 000003D2  486D D24C                pea.l      [A5 - 0x2DB4]
  371. 000003D6  486E FCF0                pea.l      [A6 - 0x310]
  372. 000003DA  4EAD 03E2                jsr        [A5 + 0x3E2 /* export_120 */]
  373. 000003DE  3C1F                     move.w     D6, [A7]+
  374. 000003E0  486E FCFE                pea.l      [A6 - 0x302]
  375. 000003E4  486D D250                pea.l      [A5 - 0x2DB0]
  376. 000003E8  7000                     moveq.l    D0, 0x00
  377. 000003EA  102E FCFE                move.b     D0, [A6 - 0x302]
  378. 000003EE  5280                     addq.l     D0, 1
  379. 000003F0  2F00                     move.l     -[A7], D0
  380. 000003F2  4EAD 02CA                jsr        [A5 + 0x2CA /* export_85 */]
  381. 000003F6  2B6E FCF8 D200           move.l     [A5 - 0x2E00], [A6 - 0x308]
  382. 000003FC  1B7C 0001 D900           move.b     [A5 - 0x2700], 0x1
  383. 00000402  6012                     bra        +0x14 /* 00000416 */
  384. label00000404:
  385. 00000404  3007                     move.w     D0, D7
  386. 00000406  5247                     addq.w     D7, 1
  387. label00000408:
  388. 00000408  48C7                     ext.l      D7
  389. 0000040A  302E FCF4                move.w     D0, [A6 - 0x30C]
  390. 0000040E  48C0                     ext.l      D0
  391. 00000410  B087                     cmp.l      D0, D7
  392. 00000412  6C00 FF50                bge        -0xAE /* 00000364 */
  393. label00000416:
  394. 00000416  4CEE 18C0 FCE0           movem.l    D6,D7,A3,A4, [A6 - 0x320]
  395. 0000041C  4E5E                     unlink     A6
  396. 0000041E  4E75                     rts
  397. fn00000420:
  398. 00000420  4E56 FF00                link       A6, -0x0100
  399. 00000424  48E7 0110                movem.l    -[A7], D7,A3
  400. 00000428  47EE FF00                lea.l      A3, [A6 - 0x100]
  401. 0000042C  422D D912                clr.b      [A5 - 0x26EE]
  402. 00000430  4A2D D91D                tst.b      [A5 - 0x26E3]
  403. 00000434  674A                     beq        +0x4C /* 00000480 */
  404. 00000436  2F0B                     move.l     -[A7], A3
  405. 00000438  3F3C 0BB8                move.w     -[A7], 0xBB8
  406. 0000043C  7006                     moveq.l    D0, 0x06
  407. 0000043E  3F00                     move.w     -[A7], D0
  408. 00000440  4EAD 0402                jsr        [A5 + 0x402 /* export_124 */]
  409. 00000444  558F                     subq.l     A7, 2
  410. 00000446  2F0B                     move.l     -[A7], A3
  411. 00000448  7000                     moveq.l    D0, 0x00
  412. 0000044A  3F00                     move.w     -[A7], D0
  413. 0000044C  7201                     moveq.l    D1, 0x01
  414. 0000044E  1F01                     move.b     -[A7], D1
  415. 00000450  A9C4                     syscall    OpenRFPerm
  416. 00000452  3E1F                     move.w     D7, [A7]+
  417. 00000454  48C7                     ext.l      D7
  418. 00000456  70FF                     moveq.l    D0, 0xFFFFFFFF
  419. 00000458  B087                     cmp.l      D0, D7
  420. 0000045A  6616                     bne        +0x18 /* 00000472 */
  421. 0000045C  2F0B                     move.l     -[A7], A3
  422. 0000045E  3F3C 0BB8                move.w     -[A7], 0xBB8
  423. 00000462  7007                     moveq.l    D0, 0x07
  424. 00000464  3F00                     move.w     -[A7], D0
  425. 00000466  4EAD 0402                jsr        [A5 + 0x402 /* export_124 */]
  426. 0000046A  558F                     subq.l     A7, 2
  427. 0000046C  2F0B                     move.l     -[A7], A3
  428. 0000046E  A997                     syscall    OpenResFile
  429. 00000470  3E1F                     move.w     D7, [A7]+
  430. label00000472:
  431. 00000472  48C7                     ext.l      D7
  432. 00000474  70FF                     moveq.l    D0, 0xFFFFFFFF
  433. 00000476  B087                     cmp.l      D0, D7
  434. 00000478  56C0                     sne        D0
  435. 0000047A  4400                     neg.b      D0
  436. 0000047C  1B40 D912                move.b     [A5 - 0x26EE], D0
  437. label00000480:
  438. 00000480  4CEE 0880 FEF8           movem.l    D7,A3, [A6 - 0x108]
  439. 00000486  4E5E                     unlink     A6
  440. 00000488  4E75                     rts
  441. fn0000048A:
  442. 0000048A  4EBA 060C                jsr        [PC + 0x60C /* 00000A98 */]
  443. 0000048E  48C0                     ext.l      D0
  444. 00000490  6706                     beq        +0x8 /* 00000498 */
  445. 00000492  4EAD 0192                jsr        [A5 + 0x192 /* export_46 */]
  446. 00000496  A9F4                     syscall    ExitToShell
  447. label00000498:
  448. 00000498  4E75                     rts
  449. fn0000049A:
  450. 0000049A  302D D918                move.w     D0, [A5 - 0x26E8]
  451. 0000049E  48C0                     ext.l      D0
  452. 000004A0  0C80 0000 0605           cmpi.l     D0, 0x605
  453. 000004A6  6C04                     bge        +0x6 /* 000004AC */
  454. 000004A8  7000                     moveq.l    D0, 0x00
  455. 000004AA  600C                     bra        +0xE /* 000004B8 */
  456. label000004AC:
  457. 000004AC  2F3C 0000 A1AD           move.l     -[A7], 0xA1AD
  458. 000004B2  4EBA 001A                jsr        [PC + 0x1A /* 000004CE */]
  459. 000004B6  588F                     addq.l     A7, 4
  460. label000004B8:
  461. 000004B8  4E75                     rts
  462. fn000004BA:
  463. 000004BA  322F 0006                move.w     D1, [A7 + 0x6]
  464. 000004BE  48C1                     ext.l      D1
  465. 000004C0  243C 0000 0800           move.l     D2, 0x800
  466. 000004C6  C481                     and.l      D2, D1
  467. 000004C8  56C0                     sne        D0
  468. 000004CA  4400                     neg.b      D0
  469. 000004CC  4E75                     rts
  470. fn000004CE:
  471. 000004CE  48E7 0700                movem.l    -[A7], D5,D6,D7
  472. 000004D2  3E2F 0012                move.w     D7, [A7 + 0x12]
  473. 000004D6  48C7                     ext.l      D7
  474. 000004D8  2F07                     move.l     -[A7], D7
  475. 000004DA  4EBA FFDE                jsr        [PC - 0x22 /* 000004BA */]
  476. 000004DE  1C00                     move.b     D6, D0
  477. 000004E0  7000                     moveq.l    D0, 0x00
  478. 000004E2  1006                     move.b     D0, D6
  479. 000004E4  7201                     moveq.l    D1, 0x01
  480. 000004E6  B280                     cmp.l      D1, D0
  481. 000004E8  588F                     addq.l     A7, 4
  482. 000004EA  663A                     bne        +0x3C /* 00000526 */
  483. 000004EC  0247 07FF                andi.w     D7, 0x7FF
  484. 000004F0  598F                     subq.l     A7, 4
  485. 000004F2  3F3C A86E                move.w     -[A7], 0xA86E
  486. 000004F6  1F06                     move.b     -[A7], D6
  487. 000004F8  4EAD 02D2                jsr        [A5 + 0x2D2 /* export_86 */]
  488. 000004FC  598F                     subq.l     A7, 4
  489. 000004FE  3F3C AA6E                move.w     -[A7], 0xAA6E
  490. 00000502  7001                     moveq.l    D0, 0x01
  491. 00000504  1F00                     move.b     -[A7], D0
  492. 00000506  4EAD 02D2                jsr        [A5 + 0x2D2 /* export_86 */]
  493. 0000050A  201F                     move.l     D0, [A7]+
  494. 0000050C  B09F                     cmp.l      D0, [A7]+
  495. 0000050E  6606                     bne        +0x8 /* 00000516 */
  496. 00000510  3A3C 0200                move.w     D5, 0x200
  497. 00000514  6004                     bra        +0x6 /* 0000051A */
  498. label00000516:
  499. 00000516  3A3C 0400                move.w     D5, 0x400
  500. label0000051A:
  501. 0000051A  48C7                     ext.l      D7
  502. 0000051C  48C5                     ext.l      D5
  503. 0000051E  BA87                     cmp.l      D5, D7
  504. 00000520  6E04                     bgt        +0x6 /* 00000526 */
  505. 00000522  3E3C A89F                move.w     D7, 0xA89F
  506. label00000526:
  507. 00000526  598F                     subq.l     A7, 4
  508. 00000528  3F07                     move.w     -[A7], D7
  509. 0000052A  1F06                     move.b     -[A7], D6
  510. 0000052C  4EAD 02D2                jsr        [A5 + 0x2D2 /* export_86 */]
  511. 00000530  598F                     subq.l     A7, 4
  512. 00000532  3F3C A89F                move.w     -[A7], 0xA89F
  513. 00000536  7001                     moveq.l    D0, 0x01
  514. 00000538  1F00                     move.b     -[A7], D0
  515. 0000053A  4EAD 02D2                jsr        [A5 + 0x2D2 /* export_86 */]
  516. 0000053E  201F                     move.l     D0, [A7]+
  517. 00000540  B09F                     cmp.l      D0, [A7]+
  518. 00000542  56C0                     sne        D0
  519. 00000544  4400                     neg.b      D0
  520. 00000546  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  521. 0000054A  4E75                     rts
  522. fn0000054C:
  523. 0000054C  4E56 FEEC                link       A6, -0x0114
  524. 00000550  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  525. 00000554  47EE FF00                lea.l      A3, [A6 - 0x100]
  526. 00000558  598F                     subq.l     A7, 4
  527. 0000055A  2F3C 414C 5254           move.l     -[A7], 0x414C5254 /* 'ALRT' */
  528. 00000560  3F3C 03E8                move.w     -[A7], 0x3E8
  529. 00000564  A9A0                     syscall    GetResource
  530. 00000566  285F                     movea.l    A4, [A7]+
  531. 00000568  598F                     subq.l     A7, 4
  532. 0000056A  2F3C 4449 544C           move.l     -[A7], 0x4449544C /* 'DITL' */
  533. 00000570  3F3C 03E8                move.w     -[A7], 0x3E8
  534. 00000574  A9A0                     syscall    GetResource
  535. 00000576  285F                     movea.l    A4, [A7]+
  536. 00000578  598F                     subq.l     A7, 4
  537. 0000057A  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  538. 00000580  3F3C 03E8                move.w     -[A7], 0x3E8
  539. 00000584  A9A0                     syscall    GetResource
  540. 00000586  285F                     movea.l    A4, [A7]+
  541. 00000588  598F                     subq.l     A7, 4
  542. 0000058A  2F3C 414C 5254           move.l     -[A7], 0x414C5254 /* 'ALRT' */
  543. 00000590  3F3C 07D3                move.w     -[A7], 0x7D3
  544. 00000594  A9A0                     syscall    GetResource
  545. 00000596  285F                     movea.l    A4, [A7]+
  546. 00000598  598F                     subq.l     A7, 4
  547. 0000059A  2F3C 4449 544C           move.l     -[A7], 0x4449544C /* 'DITL' */
  548. 000005A0  3F3C 07D3                move.w     -[A7], 0x7D3
  549. 000005A4  A9A0                     syscall    GetResource
  550. 000005A6  285F                     movea.l    A4, [A7]+
  551. 000005A8  598F                     subq.l     A7, 4
  552. 000005AA  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  553. 000005B0  3F3C 03E8                move.w     -[A7], 0x3E8
  554. 000005B4  A9A0                     syscall    GetResource
  555. 000005B6  2D5F FEF0                move.l     [A6 - 0x110], [A7]+
  556. 000005BA  598F                     subq.l     A7, 4
  557. 000005BC  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  558. 000005C2  3F3C 03E9                move.w     -[A7], 0x3E9
  559. 000005C6  A9A0                     syscall    GetResource
  560. 000005C8  285F                     movea.l    A4, [A7]+
  561. 000005CA  4AAE FEF0                tst.l      [A6 - 0x110]
  562. 000005CE  6704                     beq        +0x6 /* 000005D4 */
  563. 000005D0  200C                     move.l     D0, A4
  564. 000005D2  6614                     bne        +0x16 /* 000005E8 */
  565. label000005D4:
  566. 000005D4  486D E0A8                pea.l      [A5 - 0x1F58]
  567. 000005D8  558F                     subq.l     A7, 2
  568. 000005DA  A9AF                     syscall    ResError
  569. 000005DC  301F                     move.w     D0, [A7]+
  570. 000005DE  48C0                     ext.l      D0
  571. 000005E0  2F00                     move.l     -[A7], D0
  572. 000005E2  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  573. 000005E6  508F                     addq.l     A7, 8
  574. label000005E8:
  575. 000005E8  2F2E FEF0                move.l     -[A7], [A6 - 0x110]
  576. 000005EC  205F                     movea.l    A0, [A7]+
  577. 000005EE  A04A                     syscall    HNoPurge
  578. 000005F0  2F0C                     move.l     -[A7], A4
  579. 000005F2  205F                     movea.l    A0, [A7]+
  580. 000005F4  A04A                     syscall    HNoPurge
  581. 000005F6  598F                     subq.l     A7, 4
  582. 000005F8  2F3C 4D45 4343           move.l     -[A7], 0x4D454343 /* 'MECC' */
  583. 000005FE  7000                     moveq.l    D0, 0x00
  584. 00000600  3F00                     move.w     -[A7], D0
  585. 00000602  A9A0                     syscall    GetResource
  586. 00000604  2D5F FEF0                move.l     [A6 - 0x110], [A7]+
  587. 00000608  598F                     subq.l     A7, 4
  588. 0000060A  2F3C 4D45 4343           move.l     -[A7], 0x4D454343 /* 'MECC' */
  589. 00000610  7002                     moveq.l    D0, 0x02
  590. 00000612  3F00                     move.w     -[A7], D0
  591. 00000614  A9A0                     syscall    GetResource
  592. 00000616  285F                     movea.l    A4, [A7]+
  593. 00000618  598F                     subq.l     A7, 4
  594. 0000061A  2F3C 4D45 4343           move.l     -[A7], 0x4D454343 /* 'MECC' */
  595. 00000620  7004                     moveq.l    D0, 0x04
  596. 00000622  3F00                     move.w     -[A7], D0
  597. 00000624  A9A0                     syscall    GetResource
  598. 00000626  2D5F FEF4                move.l     [A6 - 0x10C], [A7]+
  599. 0000062A  4AAE FEF0                tst.l      [A6 - 0x110]
  600. 0000062E  670A                     beq        +0xC /* 0000063A */
  601. 00000630  200C                     move.l     D0, A4
  602. 00000632  6706                     beq        +0x8 /* 0000063A */
  603. 00000634  4AAE FEF4                tst.l      [A6 - 0x10C]
  604. 00000638  6614                     bne        +0x16 /* 0000064E */
  605. label0000063A:
  606. 0000063A  486D E0B6                pea.l      [A5 - 0x1F4A]
  607. 0000063E  558F                     subq.l     A7, 2
  608. 00000640  A9AF                     syscall    ResError
  609. 00000642  301F                     move.w     D0, [A7]+
  610. 00000644  48C0                     ext.l      D0
  611. 00000646  2F00                     move.l     -[A7], D0
  612. 00000648  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  613. 0000064C  508F                     addq.l     A7, 8
  614. label0000064E:
  615. 0000064E  2F2E FEF0                move.l     -[A7], [A6 - 0x110]
  616. 00000652  205F                     movea.l    A0, [A7]+
  617. 00000654  A04A                     syscall    HNoPurge
  618. 00000656  2F0C                     move.l     -[A7], A4
  619. 00000658  205F                     movea.l    A0, [A7]+
  620. 0000065A  A04A                     syscall    HNoPurge
  621. 0000065C  2F2E FEF4                move.l     -[A7], [A6 - 0x10C]
  622. 00000660  205F                     movea.l    A0, [A7]+
  623. 00000662  A04A                     syscall    HNoPurge
  624. 00000664  4EAD 04C2                jsr        [A5 + 0x4C2 /* export_148 */]
  625. 00000668  486D 04AA                pea.l      [A5 + 0x4AA /* export_145 */]
  626. 0000066C  A9F1                     syscall    UnloadSeg
  627. 0000066E  2078 02AA                movea.l    A0, [0x000002AA /* ApplZone */]
  628. 00000672  2010                     move.l     D0, [A0]
  629. 00000674  90B8 02AA                sub.l      D0, [0x000002AA /* ApplZone */]
  630. 00000678  0C80 0004 B000           cmpi.l     D0, 0x4B000
  631. 0000067E  640E                     bcc        +0x10 /* 0000068E */
  632. 00000680  486D E0C4                pea.l      [A5 - 0x1F3C]
  633. 00000684  7094                     moveq.l    D0, 0xFFFFFF94
  634. 00000686  2F00                     move.l     -[A7], D0
  635. 00000688  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  636. 0000068C  508F                     addq.l     A7, 8
  637. label0000068E:
  638. 0000068E  486E FEF8                pea.l      [A6 - 0x108]
  639. 00000692  486E FEEC                pea.l      [A6 - 0x114]
  640. 00000696  4EAD 03A2                jsr        [A5 + 0x3A2 /* export_112 */]
  641. 0000069A  0CAE 0004 B000 FEF8      cmpi.l     [A6 - 0x108], 0x4B000
  642. 000006A2  6C0E                     bge        +0x10 /* 000006B2 */
  643. 000006A4  486D E0CE                pea.l      [A5 - 0x1F32]
  644. 000006A8  7094                     moveq.l    D0, 0xFFFFFF94
  645. 000006AA  2F00                     move.l     -[A7], D0
  646. 000006AC  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  647. 000006B0  508F                     addq.l     A7, 8
  648. label000006B2:
  649. 000006B2  598F                     subq.l     A7, 4
  650. 000006B4  4878 5000                push.l     0x5000 /* 'P\0' */
  651. 000006B8  4EAD 02A2                jsr        [A5 + 0x2A2 /* export_80 */]
  652. 000006BC  2B5F E0FE                move.l     [A5 - 0x1F02], [A7]+
  653. 000006C0  660E                     bne        +0x10 /* 000006D0 */
  654. 000006C2  486D E0D8                pea.l      [A5 - 0x1F28]
  655. 000006C6  7094                     moveq.l    D0, 0xFFFFFF94
  656. 000006C8  2F00                     move.l     -[A7], D0
  657. 000006CA  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  658. 000006CE  508F                     addq.l     A7, 8
  659. label000006D0:
  660. 000006D0  486D 0152                pea.l      [A5 + 0x152 /* export_38 */]
  661. 000006D4  205F                     movea.l    A0, [A7]+
  662. 000006D6  A04B                     syscall    SetGrowZone
  663. 000006D8  558F                     subq.l     A7, 2
  664. 000006DA  7001                     moveq.l    D0, 0x01
  665. 000006DC  3F00                     move.w     -[A7], D0
  666. 000006DE  486D D914                pea.l      [A5 - 0x26EC]
  667. 000006E2  4EAD 040A                jsr        [A5 + 0x40A /* export_125 */]
  668. 000006E6  4EBA FDB2                jsr        [PC - 0x24E /* 0000049A */]
  669. 000006EA  7200                     moveq.l    D1, 0x00
  670. 000006EC  1200                     move.b     D1, D0
  671. 000006EE  548F                     addq.l     A7, 2
  672. 000006F0  662C                     bne        +0x2E /* 0000071E */
  673. 000006F2  302D D918                move.w     D0, [A5 - 0x26E8]
  674. 000006F6  48C0                     ext.l      D0
  675. 000006F8  0C80 0000 0602           cmpi.l     D0, 0x602
  676. 000006FE  6C00 0136                bge        +0x138 /* 00000836 */
  677. 00000702  2F0B                     move.l     -[A7], A3
  678. 00000704  3F3C 03E9                move.w     -[A7], 0x3E9
  679. 00000708  7004                     moveq.l    D0, 0x04
  680. 0000070A  3F00                     move.w     -[A7], D0
  681. 0000070C  4EAD 0402                jsr        [A5 + 0x402 /* export_124 */]
  682. 00000710  2F0B                     move.l     -[A7], A3
  683. 00000712  4EAD 0092                jsr        [A5 + 0x92 /* export_14 */]
  684. 00000716  A9F4                     syscall    ExitToShell
  685. 00000718  588F                     addq.l     A7, 4
  686. 0000071A  6000 011A                bra        +0x11C /* 00000836 */
  687. label0000071E:
  688. 0000071E  558F                     subq.l     A7, 2
  689. 00000720  2F3C 6576 6E74           move.l     -[A7], 0x65766E74 /* 'evnt' */
  690. 00000726  486E FEFC                pea.l      [A6 - 0x104]
  691. 0000072A  4EAD 0412                jsr        [A5 + 0x412 /* export_126 */]
  692. 0000072E  301F                     move.w     D0, [A7]+
  693. 00000730  48C0                     ext.l      D0
  694. 00000732  2E00                     move.l     D7, D0
  695. 00000734  7001                     moveq.l    D0, 0x01
  696. 00000736  C0AE FEFC                and.l      D0, [A6 - 0x104]
  697. 0000073A  3B40 DFC2                move.w     [A5 - 0x203E], D0
  698. 0000073E  558F                     subq.l     A7, 2
  699. 00000740  2F3C 6D61 6368           move.l     -[A7], 0x6D616368 /* 'mach' */
  700. 00000746  486E FEFC                pea.l      [A6 - 0x104]
  701. 0000074A  4EAD 0412                jsr        [A5 + 0x412 /* export_126 */]
  702. 0000074E  301F                     move.w     D0, [A7]+
  703. 00000750  48C0                     ext.l      D0
  704. 00000752  2E00                     move.l     D7, D0
  705. 00000754  202E FEFC                move.l     D0, [A6 - 0x104]
  706. 00000758  5580                     subq.l     D0, 2
  707. 0000075A  3B40 D916                move.w     [A5 - 0x26EA], D0
  708. 0000075E  558F                     subq.l     A7, 2
  709. 00000760  2F3C 7072 6F63           move.l     -[A7], 0x70726F63 /* 'proc' */
  710. 00000766  486E FEFC                pea.l      [A6 - 0x104]
  711. 0000076A  4EAD 0412                jsr        [A5 + 0x412 /* export_126 */]
  712. 0000076E  301F                     move.w     D0, [A7]+
  713. 00000770  48C0                     ext.l      D0
  714. 00000772  2E00                     move.l     D7, D0
  715. 00000774  3B6E FEFE D91A           move.w     [A5 - 0x26E6], [A6 - 0x102]
  716. 0000077A  558F                     subq.l     A7, 2
  717. 0000077C  2F3C 7379 7376           move.l     -[A7], 0x73797376 /* 'sysv' */
  718. 00000782  486E FEFC                pea.l      [A6 - 0x104]
  719. 00000786  4EAD 0412                jsr        [A5 + 0x412 /* export_126 */]
  720. 0000078A  301F                     move.w     D0, [A7]+
  721. 0000078C  48C0                     ext.l      D0
  722. 0000078E  2E00                     move.l     D7, D0
  723. 00000790  3B6E FEFE D918           move.w     [A5 - 0x26E8], [A6 - 0x102]
  724. 00000796  558F                     subq.l     A7, 2
  725. 00000798  2F3C 6174 6C6B           move.l     -[A7], 0x61746C6B /* 'atlk' */
  726. 0000079E  486E FEFC                pea.l      [A6 - 0x104]
  727. 000007A2  4EAD 0412                jsr        [A5 + 0x412 /* export_126 */]
  728. 000007A6  301F                     move.w     D0, [A7]+
  729. 000007A8  48C0                     ext.l      D0
  730. 000007AA  2E00                     move.l     D7, D0
  731. 000007AC  3B6E FEFE D920           move.w     [A5 - 0x26E0], [A6 - 0x102]
  732. 000007B2  558F                     subq.l     A7, 2
  733. 000007B4  2F3C 7164 2020           move.l     -[A7], 0x71642020 /* 'qd  ' */
  734. 000007BA  486E FEFC                pea.l      [A6 - 0x104]
  735. 000007BE  4EAD 0412                jsr        [A5 + 0x412 /* export_126 */]
  736. 000007C2  301F                     move.w     D0, [A7]+
  737. 000007C4  48C0                     ext.l      D0
  738. 000007C6  2E00                     move.l     D7, D0
  739. 000007C8  0CAE 0000 0100 FEFC      cmpi.l     [A6 - 0x104], 0x100
  740. 000007D0  5CC0                     sge        D0
  741. 000007D2  4400                     neg.b      D0
  742. 000007D4  1B40 D91D                move.b     [A5 - 0x26E3], D0
  743. 000007D8  302D D918                move.w     D0, [A5 - 0x26E8]
  744. 000007DC  48C0                     ext.l      D0
  745. 000007DE  0C80 0000 0602           cmpi.l     D0, 0x602
  746. 000007E4  6C18                     bge        +0x1A /* 000007FE */
  747. 000007E6  2F0B                     move.l     -[A7], A3
  748. 000007E8  3F3C 03E9                move.w     -[A7], 0x3E9
  749. 000007EC  7004                     moveq.l    D0, 0x04
  750. 000007EE  3F00                     move.w     -[A7], D0
  751. 000007F0  4EAD 0402                jsr        [A5 + 0x402 /* export_124 */]
  752. 000007F4  2F0B                     move.l     -[A7], A3
  753. 000007F6  4EAD 0092                jsr        [A5 + 0x92 /* export_14 */]
  754. 000007FA  A9F4                     syscall    ExitToShell
  755. 000007FC  588F                     addq.l     A7, 4
  756. label000007FE:
  757. 000007FE  558F                     subq.l     A7, 2
  758. 00000800  2F3C 706F 7772           move.l     -[A7], 0x706F7772 /* 'powr' */
  759. 00000806  486E FEFC                pea.l      [A6 - 0x104]
  760. 0000080A  4EAD 0412                jsr        [A5 + 0x412 /* export_126 */]
  761. 0000080E  301F                     move.w     D0, [A7]+
  762. 00000810  48C0                     ext.l      D0
  763. 00000812  2E00                     move.l     D7, D0
  764. 00000814  6620                     bne        +0x22 /* 00000836 */
  765. 00000816  7001                     moveq.l    D0, 0x01
  766. 00000818  C0AE FEFC                and.l      D0, [A6 - 0x104]
  767. 0000081C  2B40 D90E                move.l     [A5 - 0x26F2], D0
  768. 00000820  6714                     beq        +0x16 /* 00000836 */
  769. 00000822  7002                     moveq.l    D0, 0x02
  770. 00000824  C0AE FEFC                and.l      D0, [A6 - 0x104]
  771. 00000828  2B40 D90A                move.l     [A5 - 0x26F6], D0
  772. 0000082C  7004                     moveq.l    D0, 0x04
  773. 0000082E  C0AE FEFC                and.l      D0, [A6 - 0x104]
  774. 00000832  2B40 D906                move.l     [A5 - 0x26FA], D0
  775. label00000836:
  776. 00000836  302D D916                move.w     D0, [A5 - 0x26EA]
  777. 0000083A  48C0                     ext.l      D0
  778. 0000083C  6C18                     bge        +0x1A /* 00000856 */
  779. 0000083E  2F0B                     move.l     -[A7], A3
  780. 00000840  3F3C 03E9                move.w     -[A7], 0x3E9
  781. 00000844  7005                     moveq.l    D0, 0x05
  782. 00000846  3F00                     move.w     -[A7], D0
  783. 00000848  4EAD 0402                jsr        [A5 + 0x402 /* export_124 */]
  784. 0000084C  2F0B                     move.l     -[A7], A3
  785. 0000084E  4EAD 0092                jsr        [A5 + 0x92 /* export_14 */]
  786. 00000852  A9F4                     syscall    ExitToShell
  787. 00000854  588F                     addq.l     A7, 4
  788. label00000856:
  789. 00000856  4EBA 04EA                jsr        [PC + 0x4EA /* 00000D42 */]
  790. 0000085A  3C00                     move.w     D6, D0
  791. 0000085C  48C0                     ext.l      D0
  792. 0000085E  670C                     beq        +0xE /* 0000086C */
  793. 00000860  48C6                     ext.l      D6
  794. 00000862  2F06                     move.l     -[A7], D6
  795. 00000864  4EBA 05BE                jsr        [PC + 0x5BE /* 00000E24 */]
  796. 00000868  A9F4                     syscall    ExitToShell
  797. 0000086A  588F                     addq.l     A7, 4
  798. label0000086C:
  799. 0000086C  4CEE 18C0 FEDC           movem.l    D6,D7,A3,A4, [A6 - 0x124]
  800. 00000872  4E5E                     unlink     A6
  801. 00000874  4E75                     rts
  802. fn00000876:
  803. 00000876  598F                     subq.l     A7, 4
  804. 00000878  4878 0410                push.l     0x410
  805. 0000087C  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  806. 00000880  2B5F E298                move.l     [A5 - 0x1D68], [A7]+
  807. 00000884  660E                     bne        +0x10 /* 00000894 */
  808. 00000886  486D E102                pea.l      [A5 - 0x1EFE]
  809. 0000088A  7001                     moveq.l    D0, 0x01
  810. 0000088C  2F00                     move.l     -[A7], D0
  811. 0000088E  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  812. 00000892  508F                     addq.l     A7, 8
  813. label00000894:
  814. 00000894  206D E298                movea.l    A0, [A5 - 0x1D68]
  815. 00000898  41E8 0400                lea.l      A0, [A0 + 0x400]
  816. 0000089C  2B48 E2A0                move.l     [A5 - 0x1D60], A0
  817. 000008A0  598F                     subq.l     A7, 4
  818. 000008A2  4878 0110                push.l     0x110
  819. 000008A6  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  820. 000008AA  2B5F E28A                move.l     [A5 - 0x1D76], [A7]+
  821. 000008AE  660E                     bne        +0x10 /* 000008BE */
  822. 000008B0  486D E114                pea.l      [A5 - 0x1EEC]
  823. 000008B4  7002                     moveq.l    D0, 0x02
  824. 000008B6  2F00                     move.l     -[A7], D0
  825. 000008B8  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  826. 000008BC  508F                     addq.l     A7, 8
  827. label000008BE:
  828. 000008BE  206D E28A                movea.l    A0, [A5 - 0x1D76]
  829. 000008C2  41E8 0100                lea.l      A0, [A0 + 0x100]
  830. 000008C6  2B48 E292                move.l     [A5 - 0x1D6E], A0
  831. 000008CA  41ED E298                lea.l      A0, [A5 - 0x1D68]
  832. 000008CE  2B48 E286                move.l     [A5 - 0x1D7A], A0
  833. 000008D2  598F                     subq.l     A7, 4
  834. 000008D4  4878 2810                push.l     0x2810
  835. 000008D8  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  836. 000008DC  2B5F E264                move.l     [A5 - 0x1D9C], [A7]+
  837. 000008E0  2B6D E264 E260           move.l     [A5 - 0x1DA0], [A5 - 0x1D9C]
  838. 000008E6  660E                     bne        +0x10 /* 000008F6 */
  839. 000008E8  486D E126                pea.l      [A5 - 0x1EDA]
  840. 000008EC  7003                     moveq.l    D0, 0x03
  841. 000008EE  2F00                     move.l     -[A7], D0
  842. 000008F0  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  843. 000008F4  508F                     addq.l     A7, 8
  844. label000008F6:
  845. 000008F6  598F                     subq.l     A7, 4
  846. 000008F8  4878 0844                push.l     0x844
  847. 000008FC  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  848. 00000900  2B5F E278                move.l     [A5 - 0x1D88], [A7]+
  849. 00000904  2B6D E278 E258           move.l     [A5 - 0x1DA8], [A5 - 0x1D88]
  850. 0000090A  660E                     bne        +0x10 /* 0000091A */
  851. 0000090C  486D E138                pea.l      [A5 - 0x1EC8]
  852. 00000910  7004                     moveq.l    D0, 0x04
  853. 00000912  2F00                     move.l     -[A7], D0
  854. 00000914  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  855. 00000918  508F                     addq.l     A7, 8
  856. label0000091A:
  857. 0000091A  598F                     subq.l     A7, 4
  858. 0000091C  4878 0844                push.l     0x844
  859. 00000920  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  860. 00000924  2B5F E27E                move.l     [A5 - 0x1D82], [A7]+
  861. 00000928  2B6D E27E E25C           move.l     [A5 - 0x1DA4], [A5 - 0x1D82]
  862. 0000092E  660E                     bne        +0x10 /* 0000093E */
  863. 00000930  486D E14A                pea.l      [A5 - 0x1EB6]
  864. 00000934  7005                     moveq.l    D0, 0x05
  865. 00000936  2F00                     move.l     -[A7], D0
  866. 00000938  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  867. 0000093C  508F                     addq.l     A7, 8
  868. label0000093E:
  869. 0000093E  598F                     subq.l     A7, 4
  870. 00000940  4878 1330                push.l     0x1330
  871. 00000944  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  872. 00000948  2B5F E240                move.l     [A5 - 0x1DC0], [A7]+
  873. 0000094C  660E                     bne        +0x10 /* 0000095C */
  874. 0000094E  486D E15C                pea.l      [A5 - 0x1EA4]
  875. 00000952  7006                     moveq.l    D0, 0x06
  876. 00000954  2F00                     move.l     -[A7], D0
  877. 00000956  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  878. 0000095A  508F                     addq.l     A7, 8
  879. label0000095C:
  880. 0000095C  4EAD 0B6A                jsr        [A5 + 0xB6A /* export_361 */]
  881. 00000960  4E75                     rts
  882. fn00000962:
  883. 00000962  48E7 0300                movem.l    -[A7], D6,D7
  884. 00000966  206D D8EE                movea.l    A0, [A5 - 0x2712]
  885. 0000096A  4228 0005                clr.b      [A0 + 0x5]
  886. 0000096E  206D D8F6                movea.l    A0, [A5 - 0x270A]
  887. 00000972  4228 0005                clr.b      [A0 + 0x5]
  888. 00000976  206D D8FA                movea.l    A0, [A5 - 0x2706]
  889. 0000097A  4228 0005                clr.b      [A0 + 0x5]
  890. 0000097E  598F                     subq.l     A7, 4
  891. 00000980  7030                     moveq.l    D0, 0x30
  892. 00000982  2F00                     move.l     -[A7], D0
  893. 00000984  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  894. 00000988  2B5F E3DA                move.l     [A5 - 0x1C26], [A7]+
  895. 0000098C  6612                     bne        +0x14 /* 000009A0 */
  896. 0000098E  486D E2C0                pea.l      [A5 - 0x1D40]
  897. 00000992  3038 0220                move.w     D0, [0x00000220 /* MemErr */]
  898. 00000996  48C0                     ext.l      D0
  899. 00000998  2F00                     move.l     -[A7], D0
  900. 0000099A  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  901. 0000099E  508F                     addq.l     A7, 8
  902. label000009A0:
  903. 000009A0  426D E3DE                clr.w      [A5 - 0x1C22]
  904. 000009A4  4247                     clr.w      D7
  905. 000009A6  6020                     bra        +0x22 /* 000009C8 */
  906. label000009A8:
  907. 000009A8  206D E3DA                movea.l    A0, [A5 - 0x1C26]
  908. 000009AC  48C7                     ext.l      D7
  909. 000009AE  2007                     move.l     D0, D7
  910. 000009B0  2200                     move.l     D1, D0
  911. 000009B2  C0FC 0006                mulu.w     D0, 0x6
  912. 000009B6  4841                     swap.w     D1
  913. 000009B8  C2FC 0006                mulu.w     D1, 0x6
  914. 000009BC  4841                     swap.w     D1
  915. 000009BE  4241                     clr.w      D1
  916. 000009C0  D081                     add.l      D0, D1
  917. 000009C2  4230 0800                clr.b      [A0 + D0]
  918. 000009C6  5247                     addq.w     D7, 1
  919. label000009C8:
  920. 000009C8  48C7                     ext.l      D7
  921. 000009CA  7008                     moveq.l    D0, 0x08
  922. 000009CC  B087                     cmp.l      D0, D7
  923. 000009CE  6ED8                     bgt        -0x26 /* 000009A8 */
  924. 000009D0  598F                     subq.l     A7, 4
  925. 000009D2  4878 101E                push.l     0x101E
  926. 000009D6  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  927. 000009DA  2B5F E3E4                move.l     [A5 - 0x1C1C], [A7]+
  928. 000009DE  6612                     bne        +0x14 /* 000009F2 */
  929. 000009E0  486D E2CC                pea.l      [A5 - 0x1D34]
  930. 000009E4  3038 0220                move.w     D0, [0x00000220 /* MemErr */]
  931. 000009E8  48C0                     ext.l      D0
  932. 000009EA  2F00                     move.l     -[A7], D0
  933. 000009EC  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  934. 000009F0  508F                     addq.l     A7, 8
  935. label000009F2:
  936. 000009F2  486D 0C12                pea.l      [A5 + 0xC12 /* export_382 */]
  937. 000009F6  7001                     moveq.l    D0, 0x01
  938. 000009F8  2F00                     move.l     -[A7], D0
  939. 000009FA  4EAD 0172                jsr        [A5 + 0x172 /* export_42 */]
  940. 000009FE  486D 0C22                pea.l      [A5 + 0xC22 /* export_384 */]
  941. 00000A02  7002                     moveq.l    D0, 0x02
  942. 00000A04  2F00                     move.l     -[A7], D0
  943. 00000A06  4EAD 0172                jsr        [A5 + 0x172 /* export_42 */]
  944. 00000A0A  486D 0C02                pea.l      [A5 + 0xC02 /* export_380 */]
  945. 00000A0E  7007                     moveq.l    D0, 0x07
  946. 00000A10  2F00                     move.l     -[A7], D0
  947. 00000A12  4EAD 0172                jsr        [A5 + 0x172 /* export_42 */]
  948. 00000A16  598F                     subq.l     A7, 4
  949. 00000A18  7012                     moveq.l    D0, 0x12
  950. 00000A1A  2F00                     move.l     -[A7], D0
  951. 00000A1C  4EAD 028A                jsr        [A5 + 0x28A /* export_77 */]
  952. 00000A20  2B5F E3E0                move.l     [A5 - 0x1C20], [A7]+
  953. 00000A24  4FEF 0018                lea.l      A7, [A7 + 0x18]
  954. 00000A28  6612                     bne        +0x14 /* 00000A3C */
  955. 00000A2A  486D E2D8                pea.l      [A5 - 0x1D28]
  956. 00000A2E  3038 0220                move.w     D0, [0x00000220 /* MemErr */]
  957. 00000A32  48C0                     ext.l      D0
  958. 00000A34  2F00                     move.l     -[A7], D0
  959. 00000A36  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  960. 00000A3A  508F                     addq.l     A7, 8
  961. label00000A3C:
  962. 00000A3C  200D                     move.l     D0, A5
  963. 00000A3E  2A78 0904                movea.l    A5, [0x00000904 /* CurrentA5 */]
  964. 00000A42  206D E3E0                movea.l    A0, [A5 - 0x1C20]
  965. 00000A46  2080                     move.l     [A0], D0
  966. 00000A48  206D E3E0                movea.l    A0, [A5 - 0x1C20]
  967. 00000A4C  317C 0001 0008           move.w     [A0 + 0x8], 0x1
  968. 00000A52  41ED 0BCA                lea.l      A0, [A5 + 0xBCA /* export_373 */]
  969. 00000A56  226D E3E0                movea.l    A1, [A5 - 0x1C20]
  970. 00000A5A  2348 000A                move.l     [A1 + 0xA], A0
  971. 00000A5E  206D E3E0                movea.l    A0, [A5 - 0x1C20]
  972. 00000A62  317C 004B 000E           move.w     [A0 + 0xE], 0x4B /* 'K' */
  973. 00000A68  206D E3E0                movea.l    A0, [A5 - 0x1C20]
  974. 00000A6C  4268 0010                clr.w      [A0 + 0x10]
  975. 00000A70  558F                     subq.l     A7, 2
  976. 00000A72  206D E3E0                movea.l    A0, [A5 - 0x1C20]
  977. 00000A76  4868 0004                pea.l      [A0 + 0x4]
  978. 00000A7A  205F                     movea.l    A0, [A7]+
  979. 00000A7C  A033                     syscall    VInstall
  980. 00000A7E  3E80                     move.w     [A7], D0
  981. 00000A80  3C1F                     move.w     D6, [A7]+
  982. 00000A82  670E                     beq        +0x10 /* 00000A92 */
  983. 00000A84  486D E2E4                pea.l      [A5 - 0x1D1C]
  984. 00000A88  48C6                     ext.l      D6
  985. 00000A8A  2F06                     move.l     -[A7], D6
  986. 00000A8C  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  987. 00000A90  508F                     addq.l     A7, 8
  988. label00000A92:
  989. 00000A92  4CDF 00C0                movem.l    D6,D7, [A7]+
  990. 00000A96  4E75                     rts
  991. fn00000A98:
  992. 00000A98  48E7 0310                movem.l    -[A7], D6,D7,A3
  993. 00000A9C  598F                     subq.l     A7, 4
  994. 00000A9E  4878 3168                push.l     0x3168 /* '1h' */
  995. 00000AA2  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  996. 00000AA6  2B5F E498                move.l     [A5 - 0x1B68], [A7]+
  997. 00000AAA  6612                     bne        +0x14 /* 00000ABE */
  998. 00000AAC  486D E420                pea.l      [A5 - 0x1BE0]
  999. 00000AB0  3038 0220                move.w     D0, [0x00000220 /* MemErr */]
  1000. 00000AB4  48C0                     ext.l      D0
  1001. 00000AB6  2F00                     move.l     -[A7], D0
  1002. 00000AB8  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  1003. 00000ABC  508F                     addq.l     A7, 8
  1004. label00000ABE:
  1005. 00000ABE  266D E498                movea.l    A3, [A5 - 0x1B68]
  1006. 00000AC2  4247                     clr.w      D7
  1007. 00000AC4  6026                     bra        +0x28 /* 00000AEC */
  1008. label00000AC6:
  1009. 00000AC6  4253                     clr.w      [A3]
  1010. 00000AC8  422B 0002                clr.b      [A3 + 0x2]
  1011. 00000ACC  7000                     moveq.l    D0, 0x00
  1012. 00000ACE  2740 0038                move.l     [A3 + 0x38], D0
  1013. 00000AD2  177C 0042 0048           move.b     [A3 + 0x48], 0x42 /* 'B' */
  1014. 00000AD8  177C 0001 0049           move.b     [A3 + 0x49], 0x1
  1015. 00000ADE  41EB 007A                lea.l      A0, [A3 + 0x7A]
  1016. 00000AE2  2748 004A                move.l     [A3 + 0x4A], A0
  1017. 00000AE6  5247                     addq.w     D7, 1
  1018. 00000AE8  D6FC 02E8                add.w      A3, 0x2E8
  1019. label00000AEC:
  1020. 00000AEC  48C7                     ext.l      D7
  1021. 00000AEE  7010                     moveq.l    D0, 0x10
  1022. 00000AF0  B087                     cmp.l      D0, D7
  1023. 00000AF2  6ED2                     bgt        -0x2C /* 00000AC6 */
  1024. 00000AF4  598F                     subq.l     A7, 4
  1025. 00000AF6  7012                     moveq.l    D0, 0x12
  1026. 00000AF8  2F00                     move.l     -[A7], D0
  1027. 00000AFA  4EAD 028A                jsr        [A5 + 0x28A /* export_77 */]
  1028. 00000AFE  2B5F E43E                move.l     [A5 - 0x1BC2], [A7]+
  1029. 00000B02  6612                     bne        +0x14 /* 00000B16 */
  1030. 00000B04  486D E42A                pea.l      [A5 - 0x1BD6]
  1031. 00000B08  3038 0220                move.w     D0, [0x00000220 /* MemErr */]
  1032. 00000B0C  48C0                     ext.l      D0
  1033. 00000B0E  2F00                     move.l     -[A7], D0
  1034. 00000B10  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  1035. 00000B14  508F                     addq.l     A7, 8
  1036. label00000B16:
  1037. 00000B16  200D                     move.l     D0, A5
  1038. 00000B18  2A78 0904                movea.l    A5, [0x00000904 /* CurrentA5 */]
  1039. 00000B1C  206D E43E                movea.l    A0, [A5 - 0x1BC2]
  1040. 00000B20  2080                     move.l     [A0], D0
  1041. 00000B22  206D E43E                movea.l    A0, [A5 - 0x1BC2]
  1042. 00000B26  317C 0001 0008           move.w     [A0 + 0x8], 0x1
  1043. 00000B2C  41ED 016A                lea.l      A0, [A5 + 0x16A /* export_41 */]
  1044. 00000B30  226D E43E                movea.l    A1, [A5 - 0x1BC2]
  1045. 00000B34  2348 000A                move.l     [A1 + 0xA], A0
  1046. 00000B38  206D E43E                movea.l    A0, [A5 - 0x1BC2]
  1047. 00000B3C  317C 000A 000E           move.w     [A0 + 0xE], 0xA /* '\n' */
  1048. 00000B42  206D E43E                movea.l    A0, [A5 - 0x1BC2]
  1049. 00000B46  4268 0010                clr.w      [A0 + 0x10]
  1050. 00000B4A  558F                     subq.l     A7, 2
  1051. 00000B4C  206D E43E                movea.l    A0, [A5 - 0x1BC2]
  1052. 00000B50  4868 0004                pea.l      [A0 + 0x4]
  1053. 00000B54  205F                     movea.l    A0, [A7]+
  1054. 00000B56  A033                     syscall    VInstall
  1055. 00000B58  3E80                     move.w     [A7], D0
  1056. 00000B5A  3C1F                     move.w     D6, [A7]+
  1057. 00000B5C  670E                     beq        +0x10 /* 00000B6C */
  1058. 00000B5E  486D E434                pea.l      [A5 - 0x1BCC]
  1059. 00000B62  48C6                     ext.l      D6
  1060. 00000B64  2F06                     move.l     -[A7], D6
  1061. 00000B66  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  1062. 00000B6A  508F                     addq.l     A7, 8
  1063. label00000B6C:
  1064. 00000B6C  1B7C 002A D86E           move.b     [A5 - 0x2792], 0x2A /* '*' */
  1065. 00000B72  3B7C 0001 D86C           move.w     [A5 - 0x2794], 0x1
  1066. 00000B78  1B7C 0001 E4A0           move.b     [A5 - 0x1B60], 0x1
  1067. 00000B7E  3006                     move.w     D0, D6
  1068. 00000B80  4CDF 08C0                movem.l    D6,D7,A3, [A7]+
  1069. 00000B84  4E75                     rts
  1070. fn00000B86:
  1071. 00000B86  598F                     subq.l     A7, 4
  1072. 00000B88  4878 0424                push.l     0x424
  1073. 00000B8C  4EAD 0292                jsr        [A5 + 0x292 /* export_78 */]
  1074. 00000B90  2B5F E7CA                move.l     [A5 - 0x1836], [A7]+
  1075. 00000B94  6714                     beq        +0x16 /* 00000BAA */
  1076. 00000B96  206D E7CA                movea.l    A0, [A5 - 0x1836]
  1077. 00000B9A  7000                     moveq.l    D0, 0x00
  1078. 00000B9C  2140 000C                move.l     [A0 + 0xC], D0
  1079. 00000BA0  206D E7CA                movea.l    A0, [A5 - 0x1836]
  1080. 00000BA4  317C 0080 001E           move.w     [A0 + 0x1E], 0x80
  1081. label00000BAA:
  1082. 00000BAA  4878 232F                push.l     0x232F /* '#/' */
  1083. 00000BAE  4EAD 01D2                jsr        [A5 + 0x1D2 /* export_54 */]
  1084. 00000BB2  588F                     addq.l     A7, 4
  1085. 00000BB4  4E75                     rts
  1086. fn00000BB6:
  1087. 00000BB6  4E56 0000                link       A6, 0
  1088. 00000BBA  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  1089. 00000BBE  3A2E 000E                move.w     D5, [A6 + 0xE]
  1090. 00000BC2  286E 0008                movea.l    A4, [A6 + 0x8]
  1091. 00000BC6  558F                     subq.l     A7, 2
  1092. 00000BC8  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  1093. 00000BCE  A80D                     syscall    Count1Resources
  1094. 00000BD0  48C5                     ext.l      D5
  1095. 00000BD2  301F                     move.w     D0, [A7]+
  1096. 00000BD4  48C0                     ext.l      D0
  1097. 00000BD6  BA80                     cmp.l      D5, D0
  1098. 00000BD8  670C                     beq        +0xE /* 00000BE6 */
  1099. 00000BDA  206E 0010                movea.l    A0, [A6 + 0x10]
  1100. 00000BDE  30BC 0002                move.w     [A0], 0x2
  1101. 00000BE2  6000 00A0                bra        +0xA2 /* 00000C84 */
  1102. label00000BE6:
  1103. 00000BE6  4247                     clr.w      D7
  1104. 00000BE8  6000 0086                bra        +0x88 /* 00000C70 */
  1105. label00000BEC:
  1106. 00000BEC  7000                     moveq.l    D0, 0x00
  1107. 00000BEE  1F00                     move.b     -[A7], D0
  1108. 00000BF0  A99B                     syscall    SetResLoad
  1109. 00000BF2  598F                     subq.l     A7, 4
  1110. 00000BF4  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  1111. 00000BFA  3F14                     move.w     -[A7], [A4]
  1112. 00000BFC  A81F                     syscall    Get1Resource
  1113. 00000BFE  265F                     movea.l    A3, [A7]+
  1114. 00000C00  7001                     moveq.l    D0, 0x01
  1115. 00000C02  1F00                     move.b     -[A7], D0
  1116. 00000C04  A99B                     syscall    SetResLoad
  1117. 00000C06  200B                     move.l     D0, A3
  1118. 00000C08  660A                     bne        +0xC /* 00000C14 */
  1119. 00000C0A  206E 0010                movea.l    A0, [A6 + 0x10]
  1120. 00000C0E  30BC 0001                move.w     [A0], 0x1
  1121. 00000C12  6048                     bra        +0x4A /* 00000C5C */
  1122. label00000C14:
  1123. 00000C14  598F                     subq.l     A7, 4
  1124. 00000C16  2F0B                     move.l     -[A7], A3
  1125. 00000C18  A821                     syscall    GetMaxResourceSize/MaxSizeRsrc
  1126. 00000C1A  2C2C 0002                move.l     D6, [A4 + 0x2]
  1127. 00000C1E  9C9F                     sub.l      D6, [A7]+
  1128. 00000C20  3006                     move.w     D0, D6
  1129. 00000C22  48C0                     ext.l      D0
  1130. 00000C24  7204                     moveq.l    D1, 0x04
  1131. 00000C26  B280                     cmp.l      D1, D0
  1132. 00000C28  6D08                     blt        +0xA /* 00000C32 */
  1133. 00000C2A  48C6                     ext.l      D6
  1134. 00000C2C  70FC                     moveq.l    D0, 0xFFFFFFFC
  1135. 00000C2E  B086                     cmp.l      D0, D6
  1136. 00000C30  6F0A                     ble        +0xC /* 00000C3C */
  1137. label00000C32:
  1138. 00000C32  206E 0010                movea.l    A0, [A6 + 0x10]
  1139. 00000C36  30BC 0002                move.w     [A0], 0x2
  1140. 00000C3A  6020                     bra        +0x22 /* 00000C5C */
  1141. label00000C3C:
  1142. 00000C3C  4A93                     tst.l      [A3]
  1143. 00000C3E  671C                     beq        +0x1E /* 00000C5C */
  1144. 00000C40  2F0B                     move.l     -[A7], A3
  1145. 00000C42  4EBA 0084                jsr        [PC + 0x84 /* 00000CC8 */]
  1146. 00000C46  48C0                     ext.l      D0
  1147. 00000C48  322C 0006                move.w     D1, [A4 + 0x6]
  1148. 00000C4C  48C1                     ext.l      D1
  1149. 00000C4E  B280                     cmp.l      D1, D0
  1150. 00000C50  588F                     addq.l     A7, 4
  1151. 00000C52  6708                     beq        +0xA /* 00000C5C */
  1152. 00000C54  206E 0010                movea.l    A0, [A6 + 0x10]
  1153. 00000C58  30BC 0002                move.w     [A0], 0x2
  1154. label00000C5C:
  1155. 00000C5C  200B                     move.l     D0, A3
  1156. 00000C5E  6708                     beq        +0xA /* 00000C68 */
  1157. 00000C60  4A93                     tst.l      [A3]
  1158. 00000C62  6604                     bne        +0x6 /* 00000C68 */
  1159. 00000C64  2F0B                     move.l     -[A7], A3
  1160. 00000C66  A9A3                     syscall    ReleaseResource
  1161. label00000C68:
  1162. 00000C68  3007                     move.w     D0, D7
  1163. 00000C6A  5247                     addq.w     D7, 1
  1164. 00000C6C  D8FC 0008                add.w      A4, 0x8
  1165. label00000C70:
  1166. 00000C70  48C7                     ext.l      D7
  1167. 00000C72  48C5                     ext.l      D5
  1168. 00000C74  BA87                     cmp.l      D5, D7
  1169. 00000C76  6F0C                     ble        +0xE /* 00000C84 */
  1170. 00000C78  206E 0010                movea.l    A0, [A6 + 0x10]
  1171. 00000C7C  3010                     move.w     D0, [A0]
  1172. 00000C7E  48C0                     ext.l      D0
  1173. 00000C80  6700 FF6A                beq        -0x94 /* 00000BEC */
  1174. label00000C84:
  1175. 00000C84  200C                     move.l     D0, A4
  1176. 00000C86  4CEE 18E0 FFEC           movem.l    D5,D6,D7,A3,A4, [A6 - 0x14]
  1177. 00000C8C  4E5E                     unlink     A6
  1178. 00000C8E  4E75                     rts
  1179. fn00000C90:
  1180. 00000C90  4E56 0000                link       A6, 0
  1181. 00000C94  48E7 0018                movem.l    -[A7], A3,A4
  1182. 00000C98  286E 0010                movea.l    A4, [A6 + 0x10]
  1183. 00000C9C  266E 0008                movea.l    A3, [A6 + 0x8]
  1184. 00000CA0  558F                     subq.l     A7, 2
  1185. 00000CA2  2F13                     move.l     -[A7], [A3]
  1186. 00000CA4  A80D                     syscall    Count1Resources
  1187. 00000CA6  302E 000E                move.w     D0, [A6 + 0xE]
  1188. 00000CAA  48C0                     ext.l      D0
  1189. 00000CAC  321F                     move.w     D1, [A7]+
  1190. 00000CAE  48C1                     ext.l      D1
  1191. 00000CB0  B081                     cmp.l      D0, D1
  1192. 00000CB2  6704                     beq        +0x6 /* 00000CB8 */
  1193. 00000CB4  38BC 0002                move.w     [A4], 0x2
  1194. label00000CB8:
  1195. 00000CB8  D6FC 0006                add.w      A3, 0x6
  1196. 00000CBC  200B                     move.l     D0, A3
  1197. 00000CBE  4CEE 1800 FFF8           movem.l    A3,A4, [A6 - 0x8]
  1198. 00000CC4  4E5E                     unlink     A6
  1199. 00000CC6  4E75                     rts
  1200. fn00000CC8:
  1201. 00000CC8  4E56 FFFC                link       A6, -0x0004
  1202. 00000CCC  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  1203. 00000CD0  286E 0008                movea.l    A4, [A6 + 0x8]
  1204. 00000CD4  4247                     clr.w      D7
  1205. 00000CD6  598F                     subq.l     A7, 4
  1206. 00000CD8  2F0C                     move.l     -[A7], A4
  1207. 00000CDA  4EAD 02B2                jsr        [A5 + 0x2B2 /* export_82 */]
  1208. 00000CDE  2C1F                     move.l     D6, [A7]+
  1209. 00000CE0  2006                     move.l     D0, D6
  1210. 00000CE2  D094                     add.l      D0, [A4]
  1211. 00000CE4  2D40 FFFC                move.l     [A6 - 0x4], D0
  1212. 00000CE8  2654                     movea.l    A3, [A4]
  1213. 00000CEA  600A                     bra        +0xC /* 00000CF6 */
  1214. label00000CEC:
  1215. 00000CEC  7000                     moveq.l    D0, 0x00
  1216. 00000CEE  1013                     move.b     D0, [A3]
  1217. 00000CF0  DE40                     add.w      D7, D0
  1218. 00000CF2  D6FC 0001                add.w      A3, 0x1
  1219. label00000CF6:
  1220. 00000CF6  B7EE FFFC                cmpa.l     A3, [A6 - 0x4]
  1221. 00000CFA  65F0                     bcs        -0xE /* 00000CEC */
  1222. 00000CFC  3007                     move.w     D0, D7
  1223. 00000CFE  4CEE 18C0 FFEC           movem.l    D6,D7,A3,A4, [A6 - 0x14]
  1224. 00000D04  4E5E                     unlink     A6
  1225. 00000D06  4E75                     rts
  1226. fn00000D08:
  1227. 00000D08  4E56 FFFC                link       A6, -0x0004
  1228. 00000D0C  48E7 0300                movem.l    -[A7], D6,D7
  1229. 00000D10  4246                     clr.w      D6
  1230. 00000D12  558F                     subq.l     A7, 2
  1231. 00000D14  A81C                     syscall    Count1Types
  1232. 00000D16  3E1F                     move.w     D7, [A7]+
  1233. 00000D18  6016                     bra        +0x18 /* 00000D30 */
  1234. label00000D1A:
  1235. 00000D1A  486E FFFC                pea.l      [A6 - 0x4]
  1236. 00000D1E  3F07                     move.w     -[A7], D7
  1237. 00000D20  A80F                     syscall    Get1IndType/Get1IxType
  1238. 00000D22  558F                     subq.l     A7, 2
  1239. 00000D24  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1240. 00000D28  A80D                     syscall    Count1Resources
  1241. 00000D2A  DC5F                     add.w      D6, [A7]+
  1242. 00000D2C  3007                     move.w     D0, D7
  1243. 00000D2E  5347                     subq.w     D7, 1
  1244. label00000D30:
  1245. 00000D30  48C7                     ext.l      D7
  1246. 00000D32  4A87                     tst.l      D7
  1247. 00000D34  6EE4                     bgt        -0x1A /* 00000D1A */
  1248. 00000D36  3006                     move.w     D0, D6
  1249. 00000D38  4CEE 00C0 FFF4           movem.l    D6,D7, [A6 - 0xC]
  1250. 00000D3E  4E5E                     unlink     A6
  1251. 00000D40  4E75                     rts
  1252. fn00000D42:
  1253. 00000D42  4E56 FFFA                link       A6, -0x0006
  1254. 00000D46  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  1255. 00000D4A  426E FFFE                clr.w      [A6 - 0x2]
  1256. 00000D4E  598F                     subq.l     A7, 4
  1257. 00000D50  2F3C 4D45 4343           move.l     -[A7], 0x4D454343 /* 'MECC' */
  1258. 00000D56  7003                     moveq.l    D0, 0x03
  1259. 00000D58  3F00                     move.w     -[A7], D0
  1260. 00000D5A  A81F                     syscall    Get1Resource
  1261. 00000D5C  285F                     movea.l    A4, [A7]+
  1262. 00000D5E  200C                     move.l     D0, A4
  1263. 00000D60  6606                     bne        +0x8 /* 00000D68 */
  1264. 00000D62  7001                     moveq.l    D0, 0x01
  1265. 00000D64  6000 00B4                bra        +0xB6 /* 00000E1A */
  1266. label00000D68:
  1267. 00000D68  598F                     subq.l     A7, 4
  1268. 00000D6A  2F0C                     move.l     -[A7], A4
  1269. 00000D6C  A9A5                     syscall    GetResourceSizeOnDisk/SizeResource/SizeRsrc
  1270. 00000D6E  4A9F                     tst.l      [A7]+
  1271. 00000D70  660A                     bne        +0xC /* 00000D7C */
  1272. 00000D72  2F0C                     move.l     -[A7], A4
  1273. 00000D74  A9A3                     syscall    ReleaseResource
  1274. 00000D76  7000                     moveq.l    D0, 0x00
  1275. 00000D78  6000 00A0                bra        +0xA2 /* 00000E1A */
  1276. label00000D7C:
  1277. 00000D7C  2054                     movea.l    A0, [A4]
  1278. 00000D7E  3A10                     move.w     D5, [A0]
  1279. 00000D80  4EBA FF86                jsr        [PC - 0x7A /* 00000D08 */]
  1280. 00000D84  3E00                     move.w     D7, D0
  1281. 00000D86  48C5                     ext.l      D5
  1282. 00000D88  3007                     move.w     D0, D7
  1283. 00000D8A  48C0                     ext.l      D0
  1284. 00000D8C  BA80                     cmp.l      D5, D0
  1285. 00000D8E  6F08                     ble        +0xA /* 00000D98 */
  1286. 00000D90  3D7C 0001 FFFE           move.w     [A6 - 0x2], 0x1
  1287. 00000D96  600E                     bra        +0x10 /* 00000DA6 */
  1288. label00000D98:
  1289. 00000D98  48C7                     ext.l      D7
  1290. 00000D9A  48C5                     ext.l      D5
  1291. 00000D9C  BA87                     cmp.l      D5, D7
  1292. 00000D9E  6C06                     bge        +0x8 /* 00000DA6 */
  1293. 00000DA0  3D7C 0002 FFFE           move.w     [A6 - 0x2], 0x2
  1294. label00000DA6:
  1295. 00000DA6  2F0C                     move.l     -[A7], A4
  1296. 00000DA8  205F                     movea.l    A0, [A7]+
  1297. 00000DAA  A064                     syscall    MoveHHi
  1298. 00000DAC  2F0C                     move.l     -[A7], A4
  1299. 00000DAE  205F                     movea.l    A0, [A7]+
  1300. 00000DB0  A029                     syscall    HLock
  1301. 00000DB2  598F                     subq.l     A7, 4
  1302. 00000DB4  2F0C                     move.l     -[A7], A4
  1303. 00000DB6  4EAD 02B2                jsr        [A5 + 0x2B2 /* export_82 */]
  1304. 00000DBA  201F                     move.l     D0, [A7]+
  1305. 00000DBC  D094                     add.l      D0, [A4]
  1306. 00000DBE  2D40 FFFA                move.l     [A6 - 0x6], D0
  1307. 00000DC2  2654                     movea.l    A3, [A4]
  1308. 00000DC4  548B                     addq.l     A3, 2
  1309. 00000DC6  603A                     bra        +0x3C /* 00000E02 */
  1310. label00000DC8:
  1311. 00000DC8  2C13                     move.l     D6, [A3]
  1312. 00000DCA  3E2B 0004                move.w     D7, [A3 + 0x4]
  1313. 00000DCE  0C86 434F 4445           cmpi.l     D6, 0x434F4445 /* 'CODE' */
  1314. 00000DD4  6618                     bne        +0x1A /* 00000DEE */
  1315. 00000DD6  486E FFFE                pea.l      [A6 - 0x2]
  1316. 00000DDA  48C7                     ext.l      D7
  1317. 00000DDC  2F07                     move.l     -[A7], D7
  1318. 00000DDE  486B 0006                pea.l      [A3 + 0x6]
  1319. 00000DE2  4EBA FDD2                jsr        [PC - 0x22E /* 00000BB6 */]
  1320. 00000DE6  2640                     movea.l    A3, D0
  1321. 00000DE8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1322. 00000DEC  6014                     bra        +0x16 /* 00000E02 */
  1323. label00000DEE:
  1324. 00000DEE  486E FFFE                pea.l      [A6 - 0x2]
  1325. 00000DF2  48C7                     ext.l      D7
  1326. 00000DF4  2F07                     move.l     -[A7], D7
  1327. 00000DF6  2F0B                     move.l     -[A7], A3
  1328. 00000DF8  4EBA FE96                jsr        [PC - 0x16A /* 00000C90 */]
  1329. 00000DFC  2640                     movea.l    A3, D0
  1330. 00000DFE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1331. label00000E02:
  1332. 00000E02  302E FFFE                move.w     D0, [A6 - 0x2]
  1333. 00000E06  48C0                     ext.l      D0
  1334. 00000E08  6606                     bne        +0x8 /* 00000E10 */
  1335. 00000E0A  B7EE FFFA                cmpa.l     A3, [A6 - 0x6]
  1336. 00000E0E  65B8                     bcs        -0x46 /* 00000DC8 */
  1337. label00000E10:
  1338. 00000E10  2F0C                     move.l     -[A7], A4
  1339. 00000E12  205F                     movea.l    A0, [A7]+
  1340. 00000E14  A02A                     syscall    HUnlock
  1341. 00000E16  302E FFFE                move.w     D0, [A6 - 0x2]
  1342. label00000E1A:
  1343. 00000E1A  4CEE 18E0 FFE6           movem.l    D5,D6,D7,A3,A4, [A6 - 0x1A]
  1344. 00000E20  4E5E                     unlink     A6
  1345. 00000E22  4E75                     rts
  1346. fn00000E24:
  1347. 00000E24  4E56 FF00                link       A6, -0x0100
  1348. 00000E28  48E7 0110                movem.l    -[A7], D7,A3
  1349. 00000E2C  47EE FF00                lea.l      A3, [A6 - 0x100]
  1350. 00000E30  3E2E 000A                move.w     D7, [A6 + 0xA]
  1351. 00000E34  48C7                     ext.l      D7
  1352. 00000E36  4A87                     tst.l      D7
  1353. 00000E38  6718                     beq        +0x1A /* 00000E52 */
  1354. 00000E3A  A850                     syscall    InitCursor
  1355. 00000E3C  2F0B                     move.l     -[A7], A3
  1356. 00000E3E  3F3C 07D2                move.w     -[A7], 0x7D2
  1357. 00000E42  7001                     moveq.l    D0, 0x01
  1358. 00000E44  3F00                     move.w     -[A7], D0
  1359. 00000E46  4EAD 0402                jsr        [A5 + 0x402 /* export_124 */]
  1360. 00000E4A  2F0B                     move.l     -[A7], A3
  1361. 00000E4C  4EAD 0092                jsr        [A5 + 0x92 /* export_14 */]
  1362. 00000E50  588F                     addq.l     A7, 4
  1363. label00000E52:
  1364. 00000E52  3007                     move.w     D0, D7
  1365. 00000E54  4CEE 0880 FEF8           movem.l    D7,A3, [A6 - 0x108]
  1366. 00000E5A  4E5E                     unlink     A6
  1367. 00000E5C  4E75                     rts
  1368.